FIXME what does TX IQ Based On VOS mean?
Set TX IQ Based On VOS
Save RadioRegister 0x1E
Loop 5 times from 0 to 4 (Outer Loop)
Loop 5 times from 0 to 4 (Inner Loop)
- Find Outer Loop Table value that corresponds to the outer loop value and left shift that by 4
- Bitwise OR that value with the Inner Loop Table value that corresponds with the inner loop position
If the saved value of RadioRegister 0x1E is the same as the value found above, write the control value specified by the loop positions to PHYRegister 0x69
Outer Loop Table
Position |
Value |
0 |
0x0 |
1 |
0x4 |
2 |
0x8 |
3 |
0x9 |
4 |
0xD |
Inner Loop Table
Position |
Value |
0 |
0x0 |
1 |
0x1 |
2 |
0x5 |
3 |
0x6 |
4 |
0xA |
Control Value Table
|
0 |
1 |
2 |
3 |
4 |
0 |
0x00C0 |
0xFFC0 |
0xFEC0 |
0xFDC0 |
0xFCC0 |
1 |
0x01C0 |
0x00C0 |
0xFFC0 |
0xFEC0 |
0xFDC0 |
2 |
0x02C0 |
0x00C0 |
0x00C0 |
0xFEC0 |
0xFEC0 |
3 |
0x03C0 |
0x02C0 |
0x01C0 |
0x00C0 |
0xFFC0 |
4 |
0x04C0 |
0x03C0 |
0x02C0 |
0x01C0 |
0x00C0 |
The vertical positions correspond to the outer loop and the horizontal positions correspond with the inner loop